﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Conversion_Script
{
    class Program
    {
        static void Main(string[] args)
        {
            string InputDir = "C:\\Users\\adebruij\\Desktop\\CO2Fix landscape Conversion Script\\input\\";
           
            foreach (string fn in System.IO.Directory.GetFiles(InputDir) )
            {
                if (fn.Contains("Settings")) 
                {
                    Landscape.Simulate(fn);

                   
                    foreach (string label in CO2FixSimulations.VariableLabels) Output.WriteMassSums(label);
                    foreach (string label in CO2FixSimulations.VariableLabels)Output.WriteMassDistributions(label);
                    Output.WriteMassDistributions(KeyWords.Co2Year);
                    Output.WriteSumAreas(Landscape.LandUseNames, KeyWords.LandUse);
                 
                    
                }
            }
            
          

            Console.WriteLine("Press any key to continue");
            Console.ReadLine();
        }
    }
}
